//CommandGroup.h
#ifndef _COMMANDGROUP_H_
#define _COMMANDGROUP_H_
#pragma once

#include "CommandMove.h"
#include <vector>
#include <osg/Array>

using namespace std;
using namespace osg;

class CommandGroup : public Referenced{
private :
	vector<ref_ptr<CommandMove>> vec;
public :
	void push(ref_ptr<CommandMove> command);
	void executeAll();
	void undoAll();
protected :
	virtual ~CommandGroup(){};
};
#endif